@import "~taro-ui/dist/style/components/flex.scss";
@import "~taro-ui/dist/style/components/tabs.scss";
@import "~taro-ui/dist/style/components/tab-bar.scss";
@import "~taro-ui/dist/style/components/avatar.scss";
.custom-rank-list {
  margin-top: 40rpx;
  width: 100%;
  .explain {
    color: hsl(0, 0%, 100%);
    text-align: center;
    margin: 40rpx 0;
    font-size: 25rpx;
  }
  .wrap {
    display: flex;
    align-items: flex-end;
    font-size: 25rpx;
  }
  /*tab active css*/
  .tab-active {
    background: #3382e1;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100rpx;
    height: 75rpx;
    border-radius: 10rpx;
    padding: 0 12rpx;
  }

  .tab-default {
    // background: #dcd1e3;
    background: white;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100rpx;
    height: 75rpx;
    border-radius: 10rpx;
  }

  .content {
    padding: 30rpx;
    background: white;
    border-radius: 10rpx;

    /*得奖的*/
    .crown-box {
      display: flex;
      text-align: center;
      margin-bottom: 50rpx;
      flex-flow: row-reverse;
      justify-content: center;
      .crown {
        display: flex;
        align-items: center;
        flex-direction: column;
        font-size: 20rpx;
        .avatar {
          border-radius: 50rpx;
          margin-top: -20rpx;
        }
        .name {
          font-weight: 600;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          width: 100%;
        }
        .text {
          margin: 8rpx 0;
        }
        .lovebox {
          display: flex;
          width: 75%;
          background: black;
          color: white;
          align-items: center;
          justify-content: space-around;
          padding: 8rpx 0;
          border-radius: 8rpx;
          background-image: linear-gradient(to right, #2f7fe6, #75b184);
        }
      }

      .crown1 {
        margin-top: 30rpx;
      }
      .crown2 {
        margin-top: 45rpx;
      }
    }

    .tips {
      width: 60%;
      text-align: center;
      font-size: 20rpx;
      color: black;
      margin: 0 auto;
      box-sizing: border-box;
      margin-bottom: 20rpx;
      opacity: 0.6;
      padding: 8rpx 0;
      font-weight: bold;
      background-image: linear-gradient(to right, #fff, #96b9f0, #fff);
    }

    .box {
      border-bottom: 2px solid;
      display: flex;
      align-items: center;
      justify-content: space-around;
      flex-direction: column;
      padding-bottom: 30rpx;
      .item {
        display: flex;
        align-items: center;
        justify-content: space-around;
        width: 100%;
        .img {
          width: 45%;
        }
        .detail {
          width: 45%;
        }
      }
    }

    .list {
      font-size: 25rpx;
      .item {
        margin-bottom: 30rpx;
        font-weight: 600;
      }
      .number {
        .text {
          color: hsl(302, 41%, 45%);
          border: 1rpx solid;
          border-radius: 77rpx;
          width: 25rpx;
          height: 25rpx;
          text-align: center;
          border: 1rpx solid;
          display: flex;
          align-items: center;
          padding: 8rpx;
          justify-content: center;
        }
      }
      .center {
        text-align: center;
      }
      .right {
        text-align: right;
      }
      .title {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
    }
  }
}
